package com.freewater.library.lending.reservedsheet.infrastructure.spring;

import com.freewater.library.lending.reservedsheet.infrastructure.dao.BookReservedRecordDao;
import jakarta.persistence.EntityManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ReservedSheetSpringConfiguration {

    @Bean
    public BookReservedRecordDao bookReservedRecordDao(EntityManager entityManager) {
        return new BookReservedRecordDao(entityManager);
    }
}
